package com.financial.business.base;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author WANGNING
 * @api {post}
 * @email wyn20140226@aliyun.com
 * @tar 用于检测该服务是否就绪
 * @date 2019/11/4 16:02
 * @apiGroup 所属服务
 * @apiVersion 2.0.0
 * @apiHeader {String} null 无
 * @apiParam {String} null 无
 * @apiSuccess {String} succeed 就绪
 */

@EnableCaching
@EnableScheduling
@EnableEurekaClient
@EnableFeignClients
@SpringBootApplication
//@EnableApolloConfig
public class BaseBusinessApplication {

    public static void main(String[] args) {
        SpringApplication.run(BaseBusinessApplication.class, args);
    }
}
